Fatal Error

Call to undefined method VoteManager::createProduct()

Source file

File: /domains1/do1820800/public/www_root/liveclass/app/presenters/HomepagePresenter.php   Line: 29

Line 22:        }
Line 23:    
Line 24:        public function renderVote() {
Line 25:            $vote = new Vote();
Line 26:            $vote->user $this->getParam('uzivatel');
Line 27:            $vote->vote $this->getParam('hlas');
Line 28:            $vote->message $this->getParam('sprava');
Line 29:            $this->model->createProduct($vote);
Line 30:        }
Line 31:    
Line 32:        public function getModel() {
Line 33:            if (!isset($this->voteManager)) $this->voteManager = new VoteManager;
Line 34:            return $this->voteManager;
Line 35:        }
Line 36:    }

Call stack

  1. <PHP inner-code> Debug:: _shutdownHandler ()

Nette Application

Environment

HTTP request

HTTP response